<template>
    <router-view />
    <van-tabbar v-model="active">
        <van-tabbar-item to="/" name="home" icon="home-o">首页</van-tabbar-item>
        <van-tabbar-item to="/carowner" name="carowner" icon="like-o">车主</van-tabbar-item>
        <van-tabbar-item to="/booktickets" name="booktickets" icon="star-o">订票</van-tabbar-item>
        <van-tabbar-item to="/delivery" name="delivery" icon="cart-o">送货</van-tabbar-item>
        <van-tabbar-item to="/my" name="my" icon="friends-o">我的</van-tabbar-item>
    </van-tabbar>
</template>

<script setup>
import { ref } from 'vue'
const active = ref('home');


</script>

<style scoped>
</style>